package datastructure.Graph;

import java.io.Serializable;

/**
 * Description：
 * Author: zhangc
 * Date：2017/7/11 9:46
 */
public final class GraphMatrix implements Serializable {

    private boolean matrix[];
    private Integer vertexNum;

    public GraphMatrix(boolean[] matrix, Integer vertexNum) {
        this.matrix = matrix;
        this.vertexNum = vertexNum;
    }

    public boolean[] getMatrix() {
        return matrix;
    }

    public void setMatrix(boolean[] matrix) {
        this.matrix = matrix;
    }

    public Integer getVertexNum() {
        return vertexNum;
    }

    public void setVertexNum(Integer vertexNum) {
        this.vertexNum = vertexNum;
    }
}
